﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D25 RID: 3365
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PlayerReturnInfoQueryScRsp : IMessage<PlayerReturnInfoQueryScRsp>, IMessage, IEquatable<PlayerReturnInfoQueryScRsp>, IDeepCloneable<PlayerReturnInfoQueryScRsp>, IBufferMessage
	{
		// Token: 0x17002A9C RID: 10908
		// (get) Token: 0x060096E2 RID: 38626 RVA: 0x001927A7 File Offset: 0x001909A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PlayerReturnInfoQueryScRsp> Parser
		{
			get
			{
				return PlayerReturnInfoQueryScRsp._parser;
			}
		}

		// Token: 0x17002A9D RID: 10909
		// (get) Token: 0x060096E3 RID: 38627 RVA: 0x001927AE File Offset: 0x001909AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PlayerReturnInfoQueryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002A9E RID: 10910
		// (get) Token: 0x060096E4 RID: 38628 RVA: 0x001927C0 File Offset: 0x001909C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PlayerReturnInfoQueryScRsp.Descriptor;
			}
		}

		// Token: 0x060096E5 RID: 38629 RVA: 0x001927C7 File Offset: 0x001909C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerReturnInfoQueryScRsp()
		{
		}

		// Token: 0x060096E6 RID: 38630 RVA: 0x001927D0 File Offset: 0x001909D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerReturnInfoQueryScRsp(PlayerReturnInfoQueryScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.pBEMGMEBGGG_ = ((other.pBEMGMEBGGG_ != null) ? other.pBEMGMEBGGG_.Clone() : null);
			this.jGGKPOCIIOL_ = other.jGGKPOCIIOL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060096E7 RID: 38631 RVA: 0x00192828 File Offset: 0x00190A28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerReturnInfoQueryScRsp Clone()
		{
			return new PlayerReturnInfoQueryScRsp(this);
		}

		// Token: 0x17002A9F RID: 10911
		// (get) Token: 0x060096E8 RID: 38632 RVA: 0x00192830 File Offset: 0x00190A30
		// (set) Token: 0x060096E9 RID: 38633 RVA: 0x00192838 File Offset: 0x00190A38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002AA0 RID: 10912
		// (get) Token: 0x060096EA RID: 38634 RVA: 0x00192841 File Offset: 0x00190A41
		// (set) Token: 0x060096EB RID: 38635 RVA: 0x00192849 File Offset: 0x00190A49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FMELHEFCAJB PBEMGMEBGGG
		{
			get
			{
				return this.pBEMGMEBGGG_;
			}
			set
			{
				this.pBEMGMEBGGG_ = value;
			}
		}

		// Token: 0x17002AA1 RID: 10913
		// (get) Token: 0x060096EC RID: 38636 RVA: 0x00192852 File Offset: 0x00190A52
		// (set) Token: 0x060096ED RID: 38637 RVA: 0x0019285A File Offset: 0x00190A5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JGGKPOCIIOL
		{
			get
			{
				return this.jGGKPOCIIOL_;
			}
			set
			{
				this.jGGKPOCIIOL_ = value;
			}
		}

		// Token: 0x060096EE RID: 38638 RVA: 0x00192863 File Offset: 0x00190A63
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PlayerReturnInfoQueryScRsp);
		}

		// Token: 0x060096EF RID: 38639 RVA: 0x00192874 File Offset: 0x00190A74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PlayerReturnInfoQueryScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.PBEMGMEBGGG, other.PBEMGMEBGGG) && this.JGGKPOCIIOL == other.JGGKPOCIIOL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060096F0 RID: 38640 RVA: 0x001928D4 File Offset: 0x00190AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.pBEMGMEBGGG_ != null)
			{
				num ^= this.PBEMGMEBGGG.GetHashCode();
			}
			if (this.JGGKPOCIIOL != 0U)
			{
				num ^= this.JGGKPOCIIOL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060096F1 RID: 38641 RVA: 0x00192942 File Offset: 0x00190B42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060096F2 RID: 38642 RVA: 0x0019294A File Offset: 0x00190B4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060096F3 RID: 38643 RVA: 0x00192954 File Offset: 0x00190B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.JGGKPOCIIOL != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.JGGKPOCIIOL);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.pBEMGMEBGGG_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.PBEMGMEBGGG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060096F4 RID: 38644 RVA: 0x001929CC File Offset: 0x00190BCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.pBEMGMEBGGG_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.PBEMGMEBGGG);
			}
			if (this.JGGKPOCIIOL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JGGKPOCIIOL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060096F5 RID: 38645 RVA: 0x00192A3C File Offset: 0x00190C3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PlayerReturnInfoQueryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.pBEMGMEBGGG_ != null)
			{
				if (this.pBEMGMEBGGG_ == null)
				{
					this.PBEMGMEBGGG = new FMELHEFCAJB();
				}
				this.PBEMGMEBGGG.MergeFrom(other.PBEMGMEBGGG);
			}
			if (other.JGGKPOCIIOL != 0U)
			{
				this.JGGKPOCIIOL = other.JGGKPOCIIOL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060096F6 RID: 38646 RVA: 0x00192AB8 File Offset: 0x00190CB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060096F7 RID: 38647 RVA: 0x00192AC4 File Offset: 0x00190CC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 104U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.pBEMGMEBGGG_ == null)
							{
								this.PBEMGMEBGGG = new FMELHEFCAJB();
							}
							input.ReadMessage(this.PBEMGMEBGGG);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.JGGKPOCIIOL = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040039E2 RID: 14818
		private static readonly MessageParser<PlayerReturnInfoQueryScRsp> _parser = new MessageParser<PlayerReturnInfoQueryScRsp>(() => new PlayerReturnInfoQueryScRsp());

		// Token: 0x040039E3 RID: 14819
		private UnknownFieldSet _unknownFields;

		// Token: 0x040039E4 RID: 14820
		public const int RetcodeFieldNumber = 13;

		// Token: 0x040039E5 RID: 14821
		private uint retcode_;

		// Token: 0x040039E6 RID: 14822
		public const int PBEMGMEBGGGFieldNumber = 14;

		// Token: 0x040039E7 RID: 14823
		private FMELHEFCAJB pBEMGMEBGGG_;

		// Token: 0x040039E8 RID: 14824
		public const int JGGKPOCIIOLFieldNumber = 5;

		// Token: 0x040039E9 RID: 14825
		private uint jGGKPOCIIOL_;
	}
}
